<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-post-add">
			<h4>添加赠品信息</h4>
			<br>
			<hr>
			<div class="row">
				<div class="col-sm-12">
					<div class="form-group">
						<label class="col-sm-2 control-label"><span style="color: red; ">*</span>赠品名称：</label>
						<div class="col-sm-10">
							<input class="form-control" placeholder="请输入产品名称" type="text" name="giftName" id="giftName" required>
						</div>
					</div>
				</div>
			</div>
			<br>
			<hr>
		</form>
	</div>
	<!--<div class="row">-->
		<!--<div class="col-sm-offset-5 col-sm-10">-->
			<!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;-->
			<!--<button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
		<!--</div>-->
	<!--</div>-->
	<div th:include="include::footer"></div>
	<script th:src="@{/ajax/libs/select/select2.js}"></script>
	<script type="text/javascript">
		var prefix = ctx + "gift/gift";


		function submitHandler() {
	        if ($.validate.form()) {
	        	$.operate.save(prefix + "/addGift", $('#form-post-add').serialize());
	        }
	    }






	    
	</script>
</body>
</html>
